package cn.bjit.service;

import cn.bjit.model.AddressDO;
import cn.bjit.request.AddressAddRequest;
import cn.bjit.vo.AddressVO;

import java.util.List;

public interface AddressService {

    //添加收货地址
    void add(AddressAddRequest addressAddRequest);

    //根据id查询用户地址
    AddressVO findById(long id);

    //删除指定的收货地址
    int del(long address_id);

    //查询所有的收货地址
    List<AddressVO> list();
}
